package com.hongxun.modules.bss.service;

import com.hongxun.modules.bss.entity.DMaterialOldEntity;

import java.util.List;
import java.util.Map;

/**
 * 旧材料信息表（杆塔）
 * 
 * @author zkcn
 * @email youeremail@163.com
 * @date 2018-09-04 10:42:47
 */
public interface DMaterialOldService {

	DMaterialOldEntity queryObject(String guid);
	
	List<DMaterialOldEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(DMaterialOldEntity dMaterialOld);
	
	void update(DMaterialOldEntity dMaterialOld);
	
	void delete(String guid);
	
	void deleteBatch(String[] guids);

	void insertOrReplaceOrDelete(List<DMaterialOldEntity> entities);
}
